<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <title>Reply</title>
        <link rel="stylesheet" type="text/css" href="main.css"></link>
    </head>
    <body>
        <div>reply to a twat!</div>
    <h:body>
        <p>Welcome to your twatter page <h:outputText value="#{loginenter.login}"/></p>
        <f:view>
            <h:form id="messager">
                <h:commandButton action="#{messaging.backToMain()}"  value="cancel" />
                <br/>
                <label for="message">Reply twat</label><br/>
                <h:inputTextarea id="message" value="#{messaging.message}" cols="40" rows="10"/><br/>
                <h:commandButton action="#{messaging.sendTwat(loginenter.login)}"  value="SEND" /><br/>       
            </h:form>
        </f:view>
    </h:body>
    </body>
</html>
